package j03oa;

abstract class A1{
    private int age=9;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
public class J1 {
    public static void main(String[] args) {
        int age = new A1(){

        }.getAge();
        System.out.println("age = " + age);
    }
}
